package com.mstore.pojo;

/**
 * 
 * 企业会员信息
 * 
 */
public class Member {

	private Long id;

	private String createTime;

	/**
	 * 企业id
	 */
	private Long eaId;

	/**
	 * 会员邮箱
	 */
	private String email;

	/**
	 * 昵称
	 */
	private String nickName;

	/**
	 * 移动手机
	 */
	private String mobile;

	/**
	 * 客户姓名
	 */
	private String name;

	/**
	 * 微信号和公众号对接的唯一标示
	 */
	private String openid;

	/**
	 * 登陆密码
	 */
	private String password;

	/**
	 * 客户性别
	 */
	private String sex;

	/**
	 * 会员属性
	 * 1、会员；2、企业；3、店员
	 */
	private Integer type;

	/*********** 会员积分余额属性 **************/
	private BaseAct baseact;

	// 业务字段(非数据库字段)
	private String levelName;

	public Member(){}
	
	public Member(Long id) {
		this.id = id;
	}
	
	// 清除member
	public void clean() {
		this.id = null;
		this.createTime = null;
		this.eaId = null;
		this.email = null;
		this.nickName = null;
		this.mobile = null;
		this.name = null;
		this.password = null;
		this.sex = null;
		this.type = null;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public BaseAct getBaseact() {
		return baseact;
	}

	public void setBaseact(BaseAct baseact) {
		this.baseact = baseact;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getEaId() {
		return eaId;
	}

	public void setEaId(Long eaId) {
		this.eaId = eaId;
	}

}
